package com.sijiao.stock.mapper;

import com.sijiao.stock.pojo.Stock;
import org.springframework.data.repository.query.Param;

public interface StockMapper {

    Stock getStockBySkuId(@Param("skuId") Long skuId);

    void saveSkuStock(@Param("skuId") Long skuId,@Param("stock") Long stock);
}
